package com.uidt.project.ptsj.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.uidt.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uidt.framework.aspectj.lang.annotation.Excel;

/**
 * 红黑榜对象 ptsj_rank
 * 
 * @author uidt
 * @date 2024-08-22
 */
public class Rank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 排序 */
    @Excel(name = "排序")
    private String ord;

    /** 场所编号 */
    @Excel(name = "场所编号")
    private String placeCode;

    /** 场所名称 */
    @Excel(name = "场所名称")
    private String placeName;

    /** 积分 */
    @Excel(name = "积分")
    private Long score;

    /** 星级 */
    @Excel(name = "星级")
    private Long stars;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 删除标记 */
    private String delFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrd(String ord) 
    {
        this.ord = ord;
    }

    public String getOrd() 
    {
        return ord;
    }
    public void setPlaceCode(String placeCode) 
    {
        this.placeCode = placeCode;
    }

    public String getPlaceCode() 
    {
        return placeCode;
    }
    public void setPlaceName(String placeName) 
    {
        this.placeName = placeName;
    }

    public String getPlaceName() 
    {
        return placeName;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }
    public void setStars(Long stars) 
    {
        this.stars = stars;
    }

    public Long getStars() 
    {
        return stars;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ord", getOrd())
            .append("placeCode", getPlaceCode())
            .append("placeName", getPlaceName())
            .append("score", getScore())
            .append("stars", getStars())
            .append("remark", getRemark())
            .append("type", getType())
            .append("delFlag", getDelFlag())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .toString();
    }
}
